package com.zy.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DataGridView {
  private Integer code=0;
  private String msg="";
  private Long count;
  private Object data;

  public DataGridView(Object data) {
    this.data = data;
  }

  public DataGridView(Long count, Object data) {
    this.count = count;
    this.data = data;
  }

  public DataGridView(Integer code, Object data) {
    this.code = code;
    this.data = data;
  }
}
